package cn.itsource.pet.service;

import cn.itsource.basic.dto.PetDto;
import cn.itsource.basic.query.BaseQuery;
import cn.itsource.basic.util.AjaxResult;
import cn.itsource.basic.util.PageResult;
import cn.itsource.pet.domain.Pet;
import cn.itsource.basic.service.BaseService;
import cn.itsource.pet.query.PetQuery;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 26871
 * @since 2024-05-19
 */
public interface IPetService extends BaseService<Pet> {

    void update(PetDto petDto);

    void insert(PetDto petDto);

    void onShelves(List<Long> ids);

    void offShelves(List<Long> ids);

    PageResult<Pet> selectByQueryPage2(BaseQuery query);
}
